[pull] main from CopilotKit:main#335
Merged
Merged
Conversation
ag-ui-langgraph's tool factory now takes one A2UIToolParams object (model inside) and folds composition_guide into the guidelines bag. - sdk-js middleware: getA2UITools(params) + type A2UIToolParams import; pin @ag-ui/langgraph 0.0.40 (the JS release carrying the new API). - sdk-python middleware: get_a2ui_tools(params) + guarded A2UIToolParams import; pin ag-ui-langgraph >=0.0.41 (the py release with the new API). - Update the a2ui injection test skip-reason wording.
- @ag-ui/core, @ag-ui/client: 0.0.53 -> 0.0.56 across all packages
(react-core, core, react-native, vue, runtime, angular, shared,
web-inspector, agentcore-runner, demo-agents, sqlite-runner) + root
pnpm override; shared's @ag-ui/core range floor -> >=0.0.56.
- @ag-ui/langgraph (runtime): 0.0.39 -> 0.0.40.
- ag-ui-protocol (sdk-python): >=0.1.15 -> >=0.1.19.
- .npmrc: exclude first-party @ag-ui/{core,client,encoder,proto} from the
minimum-release-age gate so the freshly-published 0.0.56 set installs.
- Regenerate pnpm-lock.yaml + sdk-python/poetry.lock.
…raph 0.0.41 bump) @ag-ui/client 0.0.56 changed runHttpRequest to a thunk signature, breaking @copilotkit/core's ProxiedCopilotRuntimeAgent. OSS-248 only needs @ag-ui/langgraph 0.0.41; keep that, revert the unrelated core/client/protocol 'latest' bump. Adopting client 0.0.56 is a separate migration.
…ed-params # Conflicts: # .npmrc # packages/runtime/package.json # pnpm-lock.yaml
…#5339) ## What Adopts the new `ag-ui-langgraph` single-arg tool-factory API in CopilotKit's LangGraph middlewares, and upgrades the `@ag-ui/*` dependencies to the latest published releases. Counterpart to ag-ui-protocol/ag-ui#1894 (OSS-248: re-enable A2UI generation & design guidelines via the shared `A2UIToolParams` bag). ## Commits 1. **`feat(a2ui): use new ag-ui single-arg A2UIToolParams API`** - sdk-python + sdk-js middleware: `get_a2ui_tools`/`getA2UITools` now take a single `A2UIToolParams` object (model inside); `composition_guide` folds into the `guidelines` bag. - Guarded `A2UIToolParams` import (py); typed import (ts). a2ui test skip-reason wording. - Pins: `@ag-ui/langgraph 0.0.40` (js, the release carrying the new API), `ag-ui-langgraph >=0.0.41` (py). 2. **`chore(deps): use latest @Ag-ui packages and langgraph integration`** - `@ag-ui/core`, `@ag-ui/client`: `0.0.53 → 0.0.56` across all packages + root pnpm override. - `@ag-ui/langgraph` (runtime): `0.0.39 → 0.0.40`. `ag-ui-protocol >=0.1.19`. - `.npmrc`: exclude first-party `@ag-ui/{core,client,encoder,proto}` from the minimum-release-age gate so the freshly-published `0.0.56` set installs. - Regenerated `pnpm-lock.yaml` + `sdk-python/poetry.lock`. 3. **`chore(showcase): align a2ui to single-arg get_a2ui_tools API`** - `showcase/.../graph.ts`: `getA2UITools(model, opts)` → single-arg. ## Notes - All `@ag-ui` deps are live on npm/PyPI, so the branch installs cleanly. - Showcase **docs** alignment (TS backend tabs for dynamic-schema) is still being sorted out — the per-integration docs architecture needs untangling first; deferred to a follow-up.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )